package com.cloud.salon.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/*
 * @Description 网关
 * @Author wolf--LZH
 * @CreateDate 2019/4/15 0015 下午 10:31
 */
@EnableFeignClients
@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.cloud.salon"})
public class SalonGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(SalonGatewayApplication.class, args);
    }
}
